package com.huashi.dealer.modular.business.verify.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * API验证码响应参数
 *
 * @author 谭陈强
 * @since 2025-07-30
 */
@Data
@Schema(description = "API验证码响应参数")
public class VerifyResponseParam {

    @Schema(description = "验证码")
    private String code;

    @Schema(description = "验证码ID")
    private String verifyId;

    @Schema(description = "验证码类型")
    private String type;

    @Schema(description = "验证码状态：10未使用，20已使用，30已过期")
    private Integer verifyStatus;

    @Schema(description = "验证码有效期（分钟）")
    private Integer expireMinutes;

    @Schema(description = "验证码长度")
    private Integer codeLength;

    @Schema(description = "验证码字符集")
    private String codeCharset;

    @Schema(description = "图形验证码图片")
    private String imageUrl;

    @Schema(description = "图形验证码图片Base64")
    private String imageBase64;

    @Schema(description = "发送时间")
    private LocalDateTime sendTime;

    @Schema(description = "过期时间")
    private LocalDateTime expireTime;

    @Schema(description = "使用时间")
    private LocalDateTime useTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "是否验证成功")
    private Boolean verifySuccess;

    @Schema(description = "验证结果消息")
    private String verifyMessage;
} 